package com.example.hemin.fnb.ui.contract;

import com.example.hemin.fnb.ui.base.BaseView;
import com.example.hemin.fnb.ui.bean.BaseObjectBean;

import java.util.Map;

import io.reactivex.Flowable;

public interface ShopContract {
    interface  Shop{
        Flowable<BaseObjectBean> getGoodShop(Map map,long cuttenr,long size);
    }
    interface View extends BaseView{
        @Override
        void showLoading();

        @Override
        void hideLoading();
        @Override
        void onError(Throwable throwable);

        void onSuccess(BaseObjectBean bean);
    }
    interface  Presenter{
        void getGoodShop(Map map,long current,long size);
    }
}
